package Calculadora;

/**
 *
 * @author Erick_Giovanni
 */
public class TangenteInversa extends OperacionUnaria {

  public TangenteInversa(Operacion op1) {
      super(op1);
  }

  public Number Atan() {
  return Math.atan(op1.Operar().doubleValue());
  }

  @Override
  public Number Operar() {
  return null;
  }
  
  @Override
  public String toString(){
      return "Atan(" + op1.toString() + ") ";
  }

}